// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
Vue.config.productionTip = false


//全局引入
import Mint from 'mint-ui';
// Vue.use(Mint);
// import 'mint-ui/lib/style.css'; 




import 'mint-ui/lib/style.css'
import './assets/css/common.css'
import './assets/css/swiper.min.css'
/* eslint-disable no-new */


import Vue from 'vue'
import Router from 'vue-router'
import Me from './views/Me.vue'
import NoData from './views/NoData.vue'
import Home from './views/Home'
                               
     


import LazyLoad from './components/lazyload'
Vue.use(LazyLoad)
Vue.use(Mint)
Vue.use(Router)



export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path : '/mv',
      component : Home
    },
     {
      path:'/me',
      component:Me
    },
    {
      path:'/no',
      component:NoData
    }
  
   
  
  ]
})

//引入我们的封装的axios  
import  api  from './utils/api'

//绑定 api 全局绑定 
Vue.prototype.$axios=api




var app=new Vue({
  el: '#app',
  router,
  store,
  components: {App,},
  template: '<App/>'
})
